const Index = (resolve) => require(['./views/index.vue'], resolve);
const LogPage = (resolve) => require(['./views/pages/log.vue'], resolve);
const HomePage = (resolve) => require(['./views/pages/home.vue'], resolve);
const My = (resolve) => require(['./views/my/index.vue'], resolve);
const Release = (resolve) => require(['./views/release/index.vue'], resolve);

const routers = [
    {
        path: '/',
        redirect: '/log'
    },
    {
        path: '/',
        meta: {
            title: ''
        },
        component: Index,
        children: [
            {
                path: "home",
                component: HomePage
            },
            {
                path: "log",
                component: LogPage
            },
            {
                path: "release",
                component: Release
            }
        ]
    }
];
export default routers;